// stores/debuggerInfo.js
import { defineStore } from 'pinia';

export const useDebuggerStore = defineStore('useDebuggerStore', {
  state: () => ({
    debuggerRes:'',
    debuggerLoading:false,
  }),
  actions: {
    setId(){},
    setDebuggerResponse(data){
      this.debuggerRes = data;
    },
    saveDebuggerResponse(data){
      localStorage.debuggerRes = JSON.stringify(data);
    },
    addNodeLoading(falg){
      this.debuggerLoading = falg;
    }
  },
});